//
//  NavigationController+Extension.swift
//  BridgeHousePeople
//
//  Created by zhengliyue on 2018/5/11.
//  Copyright © 2018年 ZRQ. All rights reserved.
//

import Foundation
import UIKit

extension UINavigationController{
    public func pushVC (viewController:UIViewController,animated:Bool){
        viewController.hidesBottomBarWhenPushed = true
        pushViewController(viewController, animated: animated)
    }

}
